<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>找工作-互联网招聘-聘Pin网</title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/login.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/register.css"/>
		<script src="./Public/Home/js/jquery-1.9.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/register.js" type="text/javascript" charset="utf-8"></script>
		<!--载入hdjs-->
    	<link rel="stylesheet" href="./Public/hdjs/hdjs.css">
    	<script src="./Public/hdjs/hdjs.min.js"></script>
	</head>
	<body>
		<header class="top_header">
			<a href="index.html" class="logo"></a>
		</header>
		<!--中间注册主体部分-->
		<section class="content_box">
			<!--注册区域-->
			<div class="left_area">
				<form onsubmit="return hd_submit(this,'<?php echo U('register')?>','login.html')" >
					<div class="form_body">
						<div class="input_item">
							<input type="text" placeholder="请输入已验证邮箱" class="input input_white email" name="account" id="account" />
							<div class="input_tips"></div>
							<input type="hidden" value="" id="username" name="username">
						</div>
						<div class="input_item input2">
							<input type="password" placeholder="请输入密码" class="input input_white password" name="password" value="" />
							<div class="input_tips"></div>
						</div>
						<div class="input_item input2" style="display: none;">
							<input type="text" placeholder="请证明你不是机器人" class="input input_white" style="width: 130px;"/><img src="" class="code_check"/><a href="javascript:void(0);" class="reflash"></a>
						</div>
						<div class="input_item input2">
							<input type="button" value="找工作" class="btn_outline" data-myvalue="0"/>
							<input type="button" value="招人" class="btn_outline" style="margin-right: 0;" data-myvalue="1"/>
							<input type="hidden" value="" name="type" id="userType">
						</div>
						<div class="input_item input2" style="overflow: hidden;">
							<label class="agreement_box">
								<span class="icon_checkbox" style="background-position: -13px 3px;"></span>
								<input type="checkbox" name="agreement" id="checkbox" checked="checked"  />我已阅读并同意
							</label>
								<a href="privacy.html" target="_blank" >《聘Pin用户协议》</a>
						</div>
						<div class="input_item input2">
							<input type="submit" class="btn_green" value="注 册" />
						</div>
					</div>
				</form>
			</div>
			<div class="line">
				<img src="./Public/Home/image/login/divider-login.jpg"/>
			</div>
			<!--右侧登录接口部分-->
			<div class="right_area">
				<h5 style="margin-top: 30px;">已有聘Pin帐号:</h5>
				<a href="login.html" class="login_now">直接登录</a>
				<h5 style="margin-top: 30px;">使用以下帐号直接登录:</h5>
				<ul class="other_login">
					<li>
						<a href="#" title="使用新浪微博帐号登录" class="icon_login icon_sina" target="_blank"></a>
					</li>
					<li>
						<a href="#" title="使用腾讯QQ帐号登录" class="icon_login icon_tencent" target="_blank"></a>
					</li>
				</ul>
			</div>
		</section>
		<script type="text/javascript">
			$("#account").blur(function() {
				// 获取账号名称
				var account = $(this).val();
				//发送异步
				$.ajax({
					type:"post",
					url:"<?php echo U('Enter/checkAccount')?>",
					data:{a:account},
					success:function(phpdata){
						if(phpdata==0){
							$(".email").next('.input_tips').html('该账号已被注册');
							$(".email").next('.input_tips').show();
						}
					}
				});
			})
		</script>
	</body>
</html>



















